package com.ebelter.bodyfatscale.model;

import android.graphics.Bitmap;

import java.io.Serializable;

/**
 * 用户信息模型
 * Created by pan on 2018/3/13.
 */

public class UserInfo implements Serializable{
    /*运动健康版本，倍泰id，用于向秤下发的用户标志的id，不能为空,默认值normal，为普通用户，huid转化而来，为华为用户*/
    private String btId;
    private int uid;
    private String name;
    private int sex;
    private int age;
    private int role;

    private int height;
    private float weight;
    private float impedance;
    private float target;

    private Birthday birthday;
    private String eMail;

    private Bitmap icon;
    private  String imgUrl;


    public String getBtId() {
        return btId;
    }

    public void setBtId(String btId) {
        this.btId = btId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    public float getImpedance() {
        return impedance;
    }

    public void setImpedance(float impedance) {
        this.impedance = impedance;
    }

    public float getTarget() {
        return target;
    }

    public void setTarget(float target) {
        this.target = target;
    }

    public Birthday getBirthday() {
        return birthday;
    }

    public void setBirthday(Birthday birthday) {
        this.birthday = birthday;
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail;
    }

    public Bitmap getIcon() {
        return icon;
    }

    public void setIcon(Bitmap icon) {
        this.icon = icon;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "btId='" + btId + '\'' +
                "uid='" + uid + '\'' +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", age=" + age +
                ", role=" + role +
                ", height=" + height +
                ", weight=" + weight +
                ", impedance=" + impedance +
                ", target=" + target +
                ", birthday=" + birthday +
                ", eMail='" + eMail + '\'' +
                ", icon=" + icon +
                ", imgUrl='" + imgUrl + '\'' +
                '}';
    }
}
